package bean;

import java.sql.Timestamp;

/**
 * 订单类
 * 
 * @author a9296
 *
 */
public class Task {
	private int id;
	private String no; // 订单编号
	private int goods_id; // 商品
	private int goodsNumber; // 商品数量
	private Timestamp time; // 下单时间
	private double price; // 商品价格
	private double freight; // 运费
	private String isPayFreight; // 国内运费是否提前支付
	private double totalPrice; // 总价
	private String payNo; // 付款编号
	private String transportStatus; // 订单发货状态 1.未发货 2.在途 3.已到货 4.已发货
	private String payStatus; // 订单付款状态 1.未付款 2.已付款 3.已退款
	private String lackStatus; // 缺货状态 1.不缺货 2.缺货
	private String applyStatus; // 是否申请发货 1.未申请发货 2.已申请发货
	private String delivery_no; // 发货单编号
	private int user_id; // 用户编号
	private String addr; // 收货地址
	private String addressee; // 收件人
	private String tel; // 收件人电话

	public Task() {
		super();
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getNo() {
		return no;
	}

	public void setNo(String no) {
		this.no = no;
	}

	public Timestamp getTime() {
		return time;
	}

	public void setTime(Timestamp time) {
		this.time = time;
	}

	public double getPrice() {
		return price;
	}

	public void setPrice(double price) {
		this.price = price;
	}

	public double getFreight() {
		return freight;
	}

	public void setFreight(double freight) {
		this.freight = freight;
	}

	public double getTotalPrice() {
		return totalPrice;
	}

	public void setTotalPrice(double totalPrice) {
		this.totalPrice = totalPrice;
	}

	public String getPayNo() {
		return payNo;
	}

	public void setPayNo(String payNo) {
		this.payNo = payNo;
	}

	public String getTransportStatus() {
		return transportStatus;
	}

	public void setTransportStatus(String status) {
		this.transportStatus = status;
	}

	public String getDelivery_no() {
		return delivery_no;
	}

	public void setDelivery_no(String delivery_no) {
		this.delivery_no = delivery_no;
	}

	public int getUser_id() {
		return user_id;
	}

	public void setUser_id(int user_id) {
		this.user_id = user_id;
	}

	public int getGoods_id() {
		return goods_id;
	}

	public void setGoods_id(int goods_id) {
		this.goods_id = goods_id;
	}

	public int getGoodsNumber() {
		return goodsNumber;
	}

	public void setGoodsNumber(int goodsNumber) {
		this.goodsNumber = goodsNumber;
	}

	public String getPayStatus() {
		return payStatus;
	}

	public void setPayStatus(String payStatus) {
		this.payStatus = payStatus;
	}

	public String getLackStatus() {
		return lackStatus;
	}

	public void setLackStatus(String lackStatus) {
		this.lackStatus = lackStatus;
	}

	public String getApplyStatus() {
		return applyStatus;
	}

	public void setApplyStatus(String applyStatus) {
		this.applyStatus = applyStatus;
	}

	public String getAddr() {
		return addr;
	}

	public void setAddr(String addr) {
		this.addr = addr;
	}

	public String getAddressee() {
		return addressee;
	}

	public void setAddressee(String addressee) {
		this.addressee = addressee;
	}

	public String getTel() {
		return tel;
	}

	public void setTel(String tel) {
		this.tel = tel;
	}

	public String getIsPayFreight() {
		return isPayFreight;
	}

	public void setIsPayFreight(String isPayFreight) {
		this.isPayFreight = isPayFreight;
	}
}